package wms

import (
	"sync"
)

// Receiverinfowlbwmsreturnordernotify 结构体
type Receiverinfowlbwmsreturnordernotify struct {
	// 收件人邮编
	ReceiverZipCode string `json:"receiver_zip_code,omitempty" xml:"receiver_zip_code,omitempty"`
	// 收件人省份
	ReceiverProvince string `json:"receiver_province,omitempty" xml:"receiver_province,omitempty"`
	// 收件人城市
	ReceiverCity string `json:"receiver_city,omitempty" xml:"receiver_city,omitempty"`
	// 收件人区县
	ReceiverArea string `json:"receiver_area,omitempty" xml:"receiver_area,omitempty"`
	// 收件人镇村
	ReceiverTown string `json:"receiver_town,omitempty" xml:"receiver_town,omitempty"`
	// 收件人地址
	ReceiverAddress string `json:"receiver_address,omitempty" xml:"receiver_address,omitempty"`
	// 收件人姓名
	ReceiverName string `json:"receiver_name,omitempty" xml:"receiver_name,omitempty"`
	// 收件人手机，手机与电话二选一传入
	ReceiverMobile string `json:"receiver_mobile,omitempty" xml:"receiver_mobile,omitempty"`
	// 收件人电话
	ReceiverPhone string `json:"receiver_phone,omitempty" xml:"receiver_phone,omitempty"`
	// 收件人名称
	ReceiverNick string `json:"receiver_nick,omitempty" xml:"receiver_nick,omitempty"`
}

var poolReceiverinfowlbwmsreturnordernotify = sync.Pool{
	New: func() any {
		return new(Receiverinfowlbwmsreturnordernotify)
	},
}

// GetReceiverinfowlbwmsreturnordernotify() 从对象池中获取Receiverinfowlbwmsreturnordernotify
func GetReceiverinfowlbwmsreturnordernotify() *Receiverinfowlbwmsreturnordernotify {
	return poolReceiverinfowlbwmsreturnordernotify.Get().(*Receiverinfowlbwmsreturnordernotify)
}

// ReleaseReceiverinfowlbwmsreturnordernotify 释放Receiverinfowlbwmsreturnordernotify
func ReleaseReceiverinfowlbwmsreturnordernotify(v *Receiverinfowlbwmsreturnordernotify) {
	v.ReceiverZipCode = ""
	v.ReceiverProvince = ""
	v.ReceiverCity = ""
	v.ReceiverArea = ""
	v.ReceiverTown = ""
	v.ReceiverAddress = ""
	v.ReceiverName = ""
	v.ReceiverMobile = ""
	v.ReceiverPhone = ""
	v.ReceiverNick = ""
	poolReceiverinfowlbwmsreturnordernotify.Put(v)
}
